package org.example.factory.method;

/** 订购pizza
 * @author wangbin
 * @date 2024/4/17
 * @vesion 1.0
 */
public abstract class OrderPizza {
    abstract Pizza createdPizza(String orderType);

    public OrderPizza(  String orderType) {
        Pizza pizza = null;
        pizza= createdPizza(orderType);
    }
}
